#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>


int num = 11;
void test(int **p)
{
	*p = &num;
}

int main()
{
	int num = 10;
	int* p = &num;
	int** pp = &p;
	test(pp);
	printf("%d", *p);
	return 0;
}
